package com.csair.seam.domain.model.entity;

import java.util.List;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @description 设备类别树形节点
 * @author lanrunli
 *
 */
@ApiModel
@Data
@EqualsAndHashCode(callSuper = false)
public class EquipCategoryNode{
	
	@ApiModelProperty(value = "ID")
    @JsonProperty("value")
    private String id;
    
    @ApiModelProperty(value = "类别编码")
    @JsonIgnore
    private String categoryCode;

    @ApiModelProperty(value = "类别名称")
    @JsonProperty("label")
    private String categoryName;

    @ApiModelProperty(value = "类别子集")
    private List<EquipCategoryNode> children;


}
